int NofUp (NofGV, Start, Histo)
int NofGV, Start;
int * Histo;
{
   int  i,iStep;

   if (Histo[Start] >= Histo[Start+1])  return (0);
   iStep = Start;
   for (i=Start; i<NofGV-1; i++)
      if (Histo[i] < Histo[i+1])
         iStep = i;
      else
         if (Histo[i] > Histo[i+1]) break;
   return (iStep-Start);
}
